/**
 * @Description:
 * @Author HP
 * @create 2021/8/19 17:25
 */
import { createRouter, createWebHistory } from 'vue-router'
import routes from '@/routes.js'
import { routerGuard } from './permission'

const router = createRouter({
  history: createWebHistory(),
  routes: routes
})
routerGuard.call(router)
export default router
